<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Member extends Model
{
    //
    use DataTables;

    protected $table = 'member';

    protected $fillable = ['openid','nickname','avatar','subscribe_time','sex'];


    public function saveData($data){
        return \DB::table($this->table)->insertGetId($data);
    }



}
